package com.wangcang.widgetlibrary.bean;

import java.util.List;

/**
 * Created by ZFY on 2016/10/21 0021.
 */

public class AreaBean {

	public String code;
	public DataBean data;
	public String msg;


	public static class DataBean {
		public List<WorldCountryNameBean> worldCountryName;


		public static class WorldCountryNameBean {
			public String countryId;
			public String countryNameEn;
			public String countryNameZh;
			public List<ProvincesBean> provinces;


			public static class ProvincesBean {
				public String areaId;
				public String areaLevel;
				public String parentAreaId;
				public String provinceName;
				public List<CitiesBean> cities;


				public static class CitiesBean {
					public String areaId;
					public String areaLevel;
					public String cityName;
					public String parentAreaId;
					public List<CountiesBean> counties;

					// TODO: 2017/6/22 自己加的街道字段，有接口了之后根据服务端给的修改
					public static class CountiesBean {
						public String areaId;
						public String areaLevel;
						public String countyName;
						public String parentAreaId;
						public List<StreetsBean> streets;

						public static class StreetsBean {
							public String areaId;
							public String areaLevel;
							public String streetName;
							public String parentAreaId;
						}

					}
				}
			}
		}
	}
}
